<!-- 模板页 -->
<template>
  <view class="template-container">
    <view class="template-content">
      xxx
    </view>
    <!-- 与包裹页面所有内容的元素同级，且在它的下方 -->
    <tabbar />
  </view>
</template>

<script>
import tabbar from '@/components/tabbar/index.vue';

export default {
  name: 'Template',
  components: { tabbar },
};
</script>

<style lang="scss" scoped>
.template-container {
  height: 100vh;
  background-color: $uni-bg-color-grey;
  .template-content {
    padding: 20rpx;
  }
}
</style>
